package logic;

import java.io.Serializable;

/**
 * small size class that contains only book catalog number
 * this class was created because not all book actions need all the Title (Book) object
 * @author raz
 *
 */
public class BookItem implements Serializable{
	/**
	 * book catalog number
	 */
	int catalogNumber;
	
	/**
	 * defualt constructor
	 * @param cnumber catalog number
	 */
	public BookItem(int cnumber)
	{
		catalogNumber=cnumber;
	}

	public int getCatalogNumber() {
		return catalogNumber;
	}

	public void setCatalogNumber(int catalogNumber) {
		this.catalogNumber = catalogNumber;
	}
	
}
